//
//  AbstractCollectionViewCell.swift
//  test-ios
//
//  Created by wyz5204 on 2023/2/26.
//

import UIKit

class AbstractCollectionViewCell<Data>: UICollectionViewCell ,CellBinder{
    
    typealias D = Data
    
    typealias V = UICollectionView
    
    required init?(coder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    override init(frame: CGRect) {
        super.init(frame: frame)
        initView()
    }
    
    
    open func initView() {
       
    }
    
    func initBinder(_ view: UICollectionView, _ data: Data, _ index: IndexPath) {
        
    }
}
